<!doctype html>
<html>
<head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width initial-scale=1'>
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <link rel="stylesheet" href="markdown.css?v=1578879025065"/>
    <title>自定意义注释tag测试</title>
</head>
<body>
<div class="markdown-body">
    <h1>自定意义注释tag测试</h1>
<h2>使用mock获取自定义值</h2>
<p><strong>URL:</strong> <code>http://localhost:8080/mock</code></p>
<p><strong>Type:</strong> <code>POST</code></p>
<p><strong>Content-Type:</strong> <code>application/json; charset=utf-8</code></p>
<p><strong>Description:</strong> 使用mock获取自定义值</p>
<p><strong>Request-headers:</strong></p>
<table>
<thead>
<tr><th>Header</th><th>Type</th><th>Description</th><th>Required</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>token</td><td>string</td><td>token(Global)</td><td>true</td><td>-</td></tr>
<tr><td>partnerId</td><td>string</td><td>合作方账号(Global)</td><td>true</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Request-parameters:</strong></p>
<table>
<thead>
<tr><th>Parameter</th><th>Type</th><th>Description</th><th>Required</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>numbers</td><td>number</td><td>bigInteger</td><td>false</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Request-example:</strong></p>
<pre><code>curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://localhost:8080/mock --data '{
	&quot;numbers&quot;:929
}
'
</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Since</th></tr>
</thead>
<tbody>
<tr><td>success</td><td>boolean</td><td>是否成功</td><td>-</td></tr>
<tr><td>message</td><td>string</td><td>错误提示(成功succeed)</td><td>-</td></tr>
<tr><td>data</td><td>object</td><td>成功返回的数据</td><td>-</td></tr>
<tr><td>└─MAX_SPEED</td><td>int32</td><td>No comments found.</td><td>-</td></tr>
<tr><td>└─simpleEnum</td><td>object</td><td>简单枚举</td><td>-</td></tr>
<tr><td>└─username</td><td>string</td><td>用户名</td><td>v1.0</td></tr>
<tr><td>└─password</td><td>string</td><td>密码</td><td>v1.0</td></tr>
<tr><td>└─nickName</td><td>string</td><td>昵称</td><td>v1.0</td></tr>
<tr><td>└─mobile</td><td>string</td><td>电话</td><td>v1.0</td></tr>
<tr><td>└─gender</td><td>object</td><td>性别(See: 性别数据字典)</td><td>-</td></tr>
<tr><td>code</td><td>string</td><td>错误代码</td><td>-</td></tr>
<tr><td>timestamp</td><td>string</td><td>响应时间</td><td>-</td></tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
	&quot;success&quot;:true,
	&quot;message&quot;:&quot;success&quot;,
	&quot;data&quot;:{
		&quot;MAX_SPEED&quot;:178,
		&quot;simpleEnum&quot;:&quot;RED&quot;,
		&quot;username&quot;:&quot;明杰.贺&quot;,
		&quot;password&quot;:&quot;1lcv71&quot;,
		&quot;nickName&quot;:&quot;maxima.veum&quot;,
		&quot;mobile&quot;:&quot;18725509372&quot;,
		&quot;gender&quot;:0
	},
	&quot;code&quot;:&quot;48902&quot;,
	&quot;timestamp&quot;:&quot;2020-01-13 09:30:27&quot;
}
</code></pre>

    <footer class="page-footer">
        <span class="copyright">Generated by smart-doc at 2020-01-13 09:30:25</span>
        <span class="footer-modification">Suggestions, contact, support and error reporting on
            <a href="https://gitee.com/sunyurepository/smart-doc" target="_blank">Gitee</a> or
            <a href="https://github.com/shalousun/smart-doc" target="_blank">Github</a>
        </span>
    </footer>
</div>
</body>
</html>